package com.information.manage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.information.manage.model.entity.ManuDO;
import com.information.manage.model.vo.StatisticDepartmentUploadVO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface ManuMapper extends BaseMapper<ManuDO> {

    Page<ManuDO> queryPage(Page page, String title, Integer deleteData, LocalDateTime startTime, LocalDateTime endTime, Integer auditStatus, Integer userId, Integer departmentId);

    List<StatisticDepartmentUploadVO> statisticDepartmentUpload(Integer days, Integer auditStatus);
}
